<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.shi.entity.SellRecord"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>修改销售记录</title>
     <link href="style/bootstrap.css" rel="stylesheet" > 
     
  </head>
  
  <body>
    <%@ include file="top.jsp" %>
    <form class="form-horizontal" method="post" action="caozuo.html?task=xiugai">
<fieldset class="control-group">
<legend>修改销售记录</legend>
	<input type="hidden" value="${sellrecord.id}" name="id"/>
	<div class="control-group">
		<label class="control-label" for="focusedInput" >时间</label>
		<div class="controls">
			<input id="focusedInput" name="time" class="input-xlarge focused" value="${sellrecord.getTime()}" type="text" style="width:400px;height:30px"  value="">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="focusedInput">旅行社</label>
		<div class="controls">
			<input id="focusedInput" name="travel" value="${sellrecord.travel}" class="input-xlarge focused" type="text" style="width:400px;height:30px" value="">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="focusedInput">导游</label>
		<div class="controls">
			<input id="focusedInput" name="guide" value="${sellrecord.guide}" class="input-xlarge focused" type="text" style="width:400px;height:30px" value="">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="focusedInput">导游电话</label>
		<div class="controls">
			<input id="focusedInput" name="guideNum" value="${sellrecord.guideNum}" class="input-xlarge focused" type="text" style="width:400px;height:30px" value="">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="focusedInput">客源地</label>
		<div class="controls">
			<input id="focusedInput" name="address" value="${sellrecord.address}" class="input-xlarge focused" type="text" style="width:400px;height:30px" value="">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="focusedInput">人数</label>
		<div class="controls">
			<input id="focusedInput" name="peopleNum" value="${sellrecord.peopleNum}" class="input-xlarge focused" type="text" style="width:400px;height:30px" value="">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="focusedInput">销售额</label>
		<div class="controls">
			<input id="focusedInput" name="allsell" value="${sellrecord.allsell}" class="input-xlarge focused" type="text" style="width:400px;height:30px" value="">
		</div>
	</div>
<div class="form-actions">
<button class="btn btn-primary" type="submit">提交</button>
<button class="btn btn-primary" type="button" onclick="quxiao()">取消</button>
</div>
</fieldset>
</form>
	<script type="text/javascript">
     	function quxiao(){
     		history.back();
     	};
    </script>
  </body>
  
</html>
